import { get, post } from './ajax'

export const request = {
    getToken: params => get('/cms/gettoken', params),
    login: body => post('cms/login', body),
    sendCpt: params => get('./cms/sendcaptcha', params),
    judgeCpt: params => get('./cms/verifycaptcha', params),
    getuserinfo: params => get('./cms/getuserinfo', params),
    getuserlist: params => get('./cms/getuserlist', params)
}